package spec.lijunyao.unit3.clzz.inherit;

public class Test {
    public static void main(String[] args) {
        CollegeStudent mh = new CollegeStudent("小明", "1111", "四川幼专", "踢球");
        System.out.println(mh.xm);
        System.out.println(mh.jz);
        CollegeStudent lx = new CollegeStudent("小刚", "2222", "四川幼专", "培训");
        System.out.println(lx.xm);
        lx.study();
    }
}
